#ifndef RUNNER_H
#define RUNNER_H

#include <hge.h>
#include <hgefont.h>
#include <windows.h>
#include <hgeresource.h>
#include <hgerect.h>
class runner {
private:
	int xSprite,ySprite;
public:
	hgeSprite * sprite;
    hgeRect * RectTile;
//fuctions
	runner(float _runnerPositionX,float _runnerPositionY,HTEXTURE _texture,int _runner_number);
	void drawRunner();
    void moveRunner(float _dx,float _dy);
    bool checkIntersection(hgeRect * tileRect);
 int runner_number;
 float runnerPositionX,runnerPositionY;
};





#endif